package com.dmtt.config;

import com.dmtt.web.entity.AgvInfo;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@RabbitListener(queues = {"yujing.direct.queue"})
@Component
@Service
public class FanoutNotifyConsumer1 {
//    @RabbitHandler(isDefault = true)
//    public void receiveMessage(AgvInfo message){
//        System.out.println("yujing fanout---接收到了信息是->"+message);
//    }
}
